import { Component, OnInit } from '@angular/core';
import RequestListResult from "app/api/RequestListResult";
import { SidebarService } from "app/ui/sidebar/sidebar.service";
import { Router } from "@angular/router";

@Component({
  selector: 'app-sidebar',
  templateUrl: './sidebar.component.html',
  styleUrls: ['./sidebar.component.css']
})
export class SidebarComponent implements OnInit {

  constructor(
    private service: SidebarService,
    private router: Router,
  ) { }

  ngOnInit() {

  }

  onClick1() {
    this.router.navigate(['/user/menu1'], { replaceUrl: true })
  }

}
